StartupPacket

Поиск
Список
Период
Сортировка
От M. Bastin
Тема StartupPacket
Дата
Msg-id a05210603bacf32721136@[192.168.0.14]
обсуждение исходный текст
Список pgsql-novice
I've found the protocol number (it's simply "2.0") and how to feed
it.  My only question remaining:

3. What could 'Any additional command line arguments' be?  Which
arguments could be valid at this stage?

Thanks,

Marc

>  StartupPacket (F)
>  Int32(296)     - The size of the packet in bytes.
>  Int32          - The protocol version number. The most significant 16
>  bits are the major version number. The least 16 significant bits are
>  the minor version number.
>  LimString64    - The database name, defaults to the user name if
>  empty.
>  LimString32    - The user name.
>  LimString64    - Any additional command line arguments to be passed to
>  the backend child process by the server.
>  LimString64    - Unused.
>  LimString64    - The optional tty the backend should use for debugging
>  messages. (Currently, this field is unsupported and ignored.)


В списке pgsql-novice по дате отправления:

Предыдущее
От: "M. Bastin"
Дата:
Сообщение: StartupPacket
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Starting postgres with a password